project(HopeCore)

add_library(HopeCore SHARED
    Device.h
    Device.cpp
    File.h
    File.cpp
    OGLShaderObject.h
    OGLShaderObject.cpp
    OGLRender.h
    OGLRender.cpp
    OGLRenderBuffer.h
    OGLRenderBuffer.cpp
    SceneManager.h
    SceneManager.cpp
    SceneNode.h
    SceneNode.cpp
    Context.h
    Context.cpp
    RenderWindow.h
    RenderWindow.cpp
	util.h
	util.cpp
    Mesh.h
    Mesh.cpp
	types.h
    Texture.h
    Texture.cpp
    AABB.h
    AABB.cpp
	Camera.h
	Camera.cpp
	Frustum.h
	Frustum.cpp
	Plane.cpp
	Plane.h
)

include_directories(${CMAKE_SOURCE_DIR}/ThirdParty/glm/include ${CMAKE_SOURCE_DIR}/ThirdParty/glew/include ${CMAKE_SOURCE_DIR}/ThirdParty/glog/include ${CMAKE_SOURCE_DIR}/ThirdParty/assimp/include ${CMAKE_SOURCE_DIR}/ThirdParty/freeimage/include)
target_link_libraries(HopeCore ${CMAKE_SOURCE_DIR}/ThirdParty/glm/lib/glm_static.lib ${CMAKE_SOURCE_DIR}/ThirdParty/assimp/lib/assimp.lib ${CMAKE_SOURCE_DIR}/ThirdParty/glew/lib/Release/Win32/glew32.lib ${CMAKE_SOURCE_DIR}/ThirdParty/glog/lib/glog.lib ${CMAKE_SOURCE_DIR}/ThirdParty/freeimage/lib/Freeimage.lib)